package com.epam.rentcar.DAO;

import java.sql.SQLException;

import javax.naming.NamingException;

import com.epam.rentcar.transferobjects.User;

public interface UserDAO {

	public boolean addUser(String login, String password) throws SQLException, NamingException;
	public User getUser(String role, String login, String password) throws SQLException, NamingException;
	public User getUser(int userID) throws SQLException, NamingException;

}
